翻訳と辞書
Words near each other
・ Iterative compression
・ Iterative deepening A*
・ Iterative deepening depth-first search
・ Iterative design
・ Iterative impedance
・ Iterative learning control
・ Iterative method
・ Iterative proportional fitting
・ Iterative Receiver Design
・ Iterative reconstruction
・ Iterative refinement
・ Iterative Template Library
・ Iterative Viterbi decoding
・ Iteratively reweighted least squares
・ Iterator
Iterator pattern
・ Iteri language
・ Iteris
・ ITerm2
・ Itero de la Vega
・ Itero del Castillo
・ Iteron
・ Ites
・ Itesalat
・ Itesham Uddin
・ Itesiwaju
・ ITest
・ Itet
・ Itetani
・ Itete


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Iterator pattern : ウィキペディア英語版
Iterator pattern
In object-oriented programming, the iterator pattern is a design pattern in which an iterator is used to traverse a container and access the container's elements. The iterator pattern decouples algorithms from containers; in some cases, algorithms are necessarily container-specific and thus cannot be decoupled.
For example, the hypothetical algorithm ''SearchForElement'' can be implemented generally using a specified type of iterator rather than implementing it as a container-specific algorithm. This allows ''SearchForElement'' to be used on any container that supports the required type of iterator.

==Definition==
The essence of the Iterator Factory method Pattern is to "Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.".〔Gang Of Four

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Iterator pattern」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.